package com.woniu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author hyl
 * @since 2022-08-28
 */
@TableName("role_mid_menu")

public class RoleMidMenu implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "role_id")
    private Integer roleId;

    @TableField(value = "menu_id")
    private Integer menuId;

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    @Override
    public String toString() {
        return "RoleMidMenu{" +
                "roleId=" + roleId +
                ", 菜单ID=" + menuId +
                "}";
    }
}
